package com.xdap.fsapproval.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class ApprovalBotSend222 {

    @ApiModelProperty("模板 id")
    @JSONField(name = "template_id")
    private String templateId;

    //推送给哪个用户，开放平台的 employee id
    @ApiModelProperty("用户id")
    @JSONField(name = "user_id")
    private String userId;

    @ApiModelProperty("幂等id")
    @JSONField(name = "uuid")
    private String uuid;

    @ApiModelProperty("审批定义名称")
    @JSONField(name = "approval_name")
    private String approvalName;

    //卡片标题中的{申请人}、{审批人}、{评论人}、{抄送人}等
    @ApiModelProperty("审批人")
    @JSONField(name = "title_user_id")
    private String titleUserId;

    //可选"open_id"或者"user_id"
    @ApiModelProperty("审批人Id 类型")
    @JSONField(name = "title_user_id_type")
    private String title_user_id_type;

    @ApiModelProperty("评论区内容")
    @JSONField(name = "comment")
    private String comment;

//    @ApiModelProperty("卡片内容")
//    @JSONField(name = "comment")
//    private ApprovalBotContent content;


    @ApiModelProperty("备注区")
    @JSONField(name = "note")
    private String note;

    @ApiModelProperty("某个应用下用户的唯一标识")
    @JSONField(name = "open_id")
    private String open_id;

    @ApiModelProperty("发送人的employee id")
    @JSONField(name = "sender_user_id")
    private String sender_user_id;

    @ApiModelProperty("转发留言")
    @JSONField(name = "text")
    private String text;

    @ApiModelProperty("行动区")
    @JSONField(name = "actions")
    private List<ApprovalBotActions> actions;

    @ApiModelProperty("快捷审批")
    @JSONField(name = "action_callback")
    private List<ApprovalBotActions> action_callback;

    @ApiModelProperty("国际化文案")
    @JSONField(name = "i18n_resources")
    private List<ApprovalBotI18nResources> i18nResources;




}
